package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.CategoryDTO;
import com.leyou.item.entity.Category;

import java.util.List;
import java.util.Map;

/**
 * 继承iservice底层调用了增删改查的法方法
 */
public interface CategoryService extends IService<Category>{
    List<CategoryDTO> queryCategoryByBrandId(long bid);

    List<Map<String, Object>> findAllCategory() throws Exception;
}
